#include <stdio.h>
#include <stdlib.h>

typedef struct _Node{
    char * Info;
    struct _Node *nextSibling;
    struct _Node *firstChild;
}CSNode, *CSTree;

void preOrder(CSTree T){
    if(!T)
        return;
    printf("%s\t", T->Info);
    preOrder(T->firstChild);
    preOrder(T->nextSibling);
}